package com.itheima.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ZhuHongKai
 * @version 1.0
 * @ClassName UserFreeze
 * @date 2022/11/10 22:21
 */
// 用户冻结
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "user_freeze")
public class UserFreeze implements Serializable {

    private Integer userId; // 用户id
    private Integer freezingTime; // 冻结时间 3天:1,7天:2 永久:3
    private Integer freezingRange; // 冻结范围 1:冻结登录 2: 冻结发言 3: 永久发布动态
    private String reasonsForFreezing; // 冻结原因
    private String frozenRemarks; // 冻结备注
    private Integer freezeStatus; // 是否冻结
    // private String reasonsForThawing;
    private String created;
    private String updated;
}
